x86/vvmx: Correct the INVALID_PADDR checks for VMPTRLD/VMCLEAR
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Nov 2018 17:37:48 +0000 (17:37 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Nov 2018 13:46:59 +0000 (13:46 +0000)
commit3946cc5a6f3779138fbfdacdafcbc42c10484752
tree0ba50866f0095ea13bd27329c2ca5889b6b5c319
parentfa599f97bdf63f0427b6d3227d314bcc7ea24445
x86/vvmx: Correct the INVALID_PADDR checks for VMPTRLD/VMCLEAR

The referenced addresses also need checking against MAXPHYSADDR.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c